<?php
/**
 * 用户
 * @author solar
 */
class UserProxy extends BaseProxy
{
	/**
	 * 互相关注列表
	 * @author solar
	 */
	public function bilateral() {
		$client=new SaeTClientV2(WB_AKEY,WB_SKEY,CoreFactory::session()->get('sina_token') ,'');
		$data = $client->bilateral(CoreFactory::session()->get('sina_id'),$this->getPage(),$this->getLimit());
		return $this->success($data);
	}
	
	/**
	 * 搜索用户
	 * @author solar
	 */
	/*public function search() {
		
	}*/
	
	/**
	 * 我关注的人列表
	 * @author solar
	 */
	/*public function friends() {
		$client=new SaeTClientV2(WB_AKEY,WB_SKEY,CoreFactory::session()->get('sina_token') ,'');
		$data = $client->friends_by_id(CoreFactory::session()->get('sina_id'),$this->getOffset(),$this->getLimit());
		return $this->success($data);
	}*/
	
	/**
	 * 我的粉丝列表
	 * @author solar
	 */
	/*public function followers() {
		$client=new SaeTClientV2(WB_AKEY,WB_SKEY,CoreFactory::session()->get('sina_token') ,'');
		$data = $client->followers_by_id(CoreFactory::session()->get('sina_id'),$this->getOffset(),$this->getLimit());
		return $this->success($data);
	}*/
	
}
